<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/view/common/easycommon.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <title>合同签署</title>
    <meta charset="utf-8">
    <style>
    	table{font-size:14px}
    </style>
    <script>
    $(function(){
    	var datagrid; //定义全局变量datagrid
        var editRow = undefined; //定义全局变量：当前编辑的行
        datagrid = $('#reportTable').datagrid({
    		rownumbers:true,
    		//singleSelect:true,
    		//pagination:true,
    		//pageSize:30,
    		//singleSelect:false,
    		fit: true, //datagrid自适应宽度
            fitColumn: false, //列自适应宽度
            striped: true, //行背景交换
            nowap: true, //列内容多时自动折至第二行
            border: false,
            //idField: 'id', //主键
    		url:"${path}/report/queryHtmxDetailList",
    		columns:[[
    			{field:'manager',title:'员工',width:100},
    			{field:'contractName',title:'合同名',width:250},
    			{field:'partAName',title:'客户名',width:100},
    			{field:'beginTime',title:'合同时间',width:80},
    			{field:'endTime',title:'合同到期时间',width:100},
				{field:'origin_price',title:'合同原价',width:100},
    			{field:'total_amount',title:'合同现价',width:100}
    		]],
    		queryParams: {userId:'${userId}',nd_yd:'${nd_yd}',dateTime:'${dateTime}'}//查询参数
    	});
    })
    </script>
</head>
<body>
	<table id="reportTable" title="合同签署" class="easyui-datagrid" style="width:850px;height:450px"
			singleSelect="true" iconCls="icon-save">
	</table>
</body>
</html>
